﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Rqst.master" AutoEventWireup="true" CodeFile="CheckRequestStatus.aspx.cs" Inherits="CheckRequestStatus" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:700px;">
        <tr>
            <td>
                &nbsp;</td>
            <td>
               <h3> My Request List</h3></td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Label ID="lblItemCode" runat="server" Text="Select Status:"></asp:Label>
                <asp:DropDownList ID="ddlStatus" runat="server">
                    <asp:ListItem>pending</asp:ListItem>
                    <asp:ListItem>approved</asp:ListItem>
                    <asp:ListItem>rejected</asp:ListItem>
                    <asp:ListItem>processing</asp:ListItem>
                    <asp:ListItem>completed</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Requisition Form ID:<asp:DropDownList ID="ddlRequisitionFormID" runat="server">
                </asp:DropDownList>
                <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                    Text="Search" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td colspan="2">
                <asp:GridView ID="gvRequestList" runat="server" AutoGenerateColumns="False" 
                    Width="700px">
                    <Columns>
                        <asp:BoundField DataField="RequisitionFormID" 
                            HeaderText="Requisition Form ID" >
                            <ItemStyle Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ItemCode" HeaderText="Item Code" >
                            <ItemStyle Width="70px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ItemDesc" HeaderText="Item Desc" >
                            <ItemStyle Width="250px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="RequestQty" HeaderText="Request Qty" >
                            <ItemStyle Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ActualQty" HeaderText="Actual Qty" >
                            <ItemStyle Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="RequestDate" HeaderText="Request Date" >
                            <ItemStyle Width="100px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Status" HeaderText="Status" >
                            <ItemStyle Width="200px" />
                        </asp:BoundField>
                    </Columns>

                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td colspan="2">
                <b>Remark:</b> <asp:Label ID="lbRemark" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>

